package com.mlnx.device.dao.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.device.entity.BpDevice;
import com.mlnx.device.pojo.dto.BpDeviceDto;
import com.mlnx.device.pojo.form.BpDeviceFilterForm;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * Created by amanda.shan on 2019-09-21.
 */
public interface BpDeviceMapper extends BaseMapper<BpDevice> {

    Page<BpDeviceDto> selectDeviceDtoPage(Page<BpDeviceDto> bpDeviceDtoPage, @Param("filter") BpDeviceFilterForm bpDeviceFilterForm, @Param("sorter") Map<String, String> sorter);
}
